package com.rabbitmq.rabbitmqspring.constant;

public class Constants {

    /**
     * 工作队列模式
     */
    public static final String WORK_QUEUE = "work.queue";

    /**
     * 发布订阅模式
     */
    public static final String FANOUT_QUEUE1 = "fanout.queue1";
    public static final String FANOUT_QUEUE2 = "fanout.queue2";
    public static final String FANOUT_EXCHANGE = "fanout.exchange";

    /**
     * 路由模式
     */
    public static final String DIRECT_EXCHANGE = "direct.exchange";
    public static final String DIRECT_QUEUE1 = "direct.queue1";
    public static final String DIRECT_QUEUE2 = "direct.queue2";
    public static final String DIRECT_ROUTINGKEY1 = "a";
    public static final String DIRECT_ROUTINGKEY2 = "b";

    /**
     * 通配符模式
     */
    public static final String TOPIC_EXCHANGE = "topic.exchange";
    public static final String TOPIC_QUEUE1 = "topic.queue1";
    public static final String TOPIC_QUEUE2 = "topic.queue2";
    public static final String TOPIC_ROUTINGKEY1 = "*.a.b";
    public static final String TOPIC_ROUTINGKEY2 = "*.b.*";
    public static final String TOPIC_ROUTINGKEY3 = "c.#";
}
